package com.weibo.sdk.android.api;
import com.weibo.sdk.android.Oauth2AccessToken;
import com.weibo.sdk.android.WeiboParameters;
import com.weibo.sdk.android.net.RequestListener;

public class RemindAPI extends WeiboAPI {

	public RemindAPI(Oauth2AccessToken accessToken) {
		super(accessToken);
	}

	private static final String SERVER_URL_PRIX = API_SERVER + "/remind";

	public void unread_count(long uid, RequestListener listener) {
		WeiboParameters params = new WeiboParameters();
		params.add("uid", uid);
		request(SERVER_URL_PRIX + "/unread_count.json", params, HTTPMETHOD_GET, listener);
	}
	
	public void set_count(String type, RequestListener listener) {
		WeiboParameters params = new WeiboParameters();
		params.add("type", type);
		request(SERVER_URL_PRIX + "/set_count.json", params, HTTPMETHOD_POST, listener);
	}

}
